FROM centos7jdk8
ADD /target/paddyi-admin-1.0.jar paddyi-admin-1.0.jar
EXPOSE 8761
ENV LC_ALL en_US.UTF-8
ENV JAVA_OPTS="-Xms128m -Xmx128m -Xmn64m -Xss256k -XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC"
ENTRYPOINT ["java","-jar","/paddyi-admin-1.0.jar","--spring.profiles.active=prod"]